package com.xinjian.jianba.dto;

import java.io.Serializable;

import com.xinjian.jianba.annotation.Validator;

public class TicketsDto implements Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = 6132084238003190970L;
	@Validator(nullable=false,description="用户id不能为空")
	private Long userId;
	@Validator(nullable=false,description="被投票人id")
	private Long matchId;
	@Validator(nullable=false,description="被投票人的作品id")
	private Long workId;
	public Long getUserId() {
		return userId;
	}
	public void setUserId(Long userId) {
		this.userId = userId;
	}
	public Long getMatchId() {
		return matchId;
	}
	public void setMatchId(Long matchId) {
		this.matchId = matchId;
	}
	public Long getWorkId() {
		return workId;
	}
	public void setWorkId(Long workId) {
		this.workId = workId;
	}
	
	
}
